package com.kgc.smbms.bean;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created On : 11/8/2022.
 * <p>
 * Author : huayu
 * <p>
 * Description: Role
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class Role {

    //主键id
    private Integer id;

    //角色编号
    private String roleCode;

    //角色名称
    private String roleName;

    //创建人 (user id)
    private Integer createdBy;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creationDate;

    //修改人 (user id)
    private Integer modifyBy;

    //修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifyDate;

}
